IWorkspace.CleanUpProject method

Namespace: NextDesign.Desktop

Description

Cleans up the specified project. If no project is specified, the current project currently opened in the application is cleaned up.

The project cleanup process is performed only on the editable units of the managed units of the specified project. If the target project is not saved, calling this method will fail.

argument

Name Type Description
project IProject Project

If null is specified, clean up the current project that the application is currently open.
(Nothing is done if there is no current project)

Return value

  • void

Exception

Name Exception Class Description
Illegal operation ExtensionInvalidOperationException If the target project is not saved